package com.guodu.vo;

import java.math.BigDecimal;

import com.guodu.entity.MaterialAppraisal;
import com.guodu.entity.ViewMaterialAppraisal;
import com.guodu.entity.ViewMaterialAppraisalCom;
import com.guodu.entity.ViewMaterialAppraisalThree;
import com.guodu.entity.ViewMaterialAppraisalYear;

public class MaterialAppraisalVo extends MaterialAppraisal {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private ViewMaterialAppraisal view;
	
	private Integer count;
	
	private ViewMaterialAppraisalThree view1;
	
	private ViewMaterialAppraisalCom view2;
	
	private Long tianbaoqingkuang;
	
	private Long paiming;
	
	private BigDecimal ljCount;
	
	private Long ljPaiming;
	
	public MaterialAppraisalVo(){
		
	}
	
	public MaterialAppraisalVo(ViewMaterialAppraisalYear materialAppraisal){
		ViewMaterialAppraisal view = new ViewMaterialAppraisal();
		view.setPurchaseBiddingPlan(materialAppraisal.getPurchaseBiddingPlan());
		view.setPurchaseBiddingPlanTwo(materialAppraisal.getPurchaseBiddingPlanTwo());
		view.setPurchaseDistributionPlan(materialAppraisal.getPurchaseDistributionPlan());
		view.setJoinStore(materialAppraisal.getJoinStore());
		view.setStore(materialAppraisal.getStore());
		view.setSupplierBad(materialAppraisal.getSupplierBad());
		view.setSupplierEvaluation(materialAppraisal.getSupplierEvaluation());
		view.setSupplierQualified(materialAppraisal.getSupplierQualified());
		view.setSupplierRedTwo(materialAppraisal.getSupplierRedTwo());
		view.setCliqueRed(materialAppraisal.getCliqueRed());
		this.view=view;
	}
	
	
	
	public MaterialAppraisalVo(MaterialAppraisal materialAppraisal){
		this.setAppraisalId(materialAppraisal.getAppraisalId());
		this.setTianbaoF(materialAppraisal.getTianbaoF());
		this.setCk(materialAppraisal.getCk());
		this.setCreatePeople(materialAppraisal.getCreatePeople());
		this.setCreateTime(materialAppraisal.getCreateTime());
		this.setDateF(materialAppraisal.getDateF());
		this.setDcwz(materialAppraisal.getDcwz());
		this.setGhyc(materialAppraisal.getGhyc());
		this.setGhytj(materialAppraisal.getGhytj());
		this.setJtht(materialAppraisal.getJtht());
		this.setJtjh(materialAppraisal.getJtjh());
		this.setJtjhtz(materialAppraisal.getJtjhtz());
		this.setJtxx(materialAppraisal.getJtxx());
		this.setKc(materialAppraisal.getKc());
		this.setKcjgtj(materialAppraisal.getKcjgtj());
		this.setLcwz(materialAppraisal.getLcwz());
		this.setMonths(materialAppraisal.getMonths());
		this.setMonthsF(materialAppraisal.getMonthsF());
		this.setOther(materialAppraisal.getOther());
		this.setRemarks(materialAppraisal.getRemarks());
		this.setRk(materialAppraisal.getRk());
		this.setThreeht(materialAppraisal.getThreeht());
		this.setThreejh(materialAppraisal.getThreejh());
		this.setThreejhtz(materialAppraisal.getThreejhtz());
		this.setThreexx(materialAppraisal.getThreexx());
		this.setTwoht(materialAppraisal.getTwoht());
		this.setTwojh(materialAppraisal.getTwojh());
		this.setTwojhtz(materialAppraisal.getTwojhtz());
		this.setTwoxx(materialAppraisal.getTwoxx());
		this.setUnitsId(materialAppraisal.getUnitsId());
		this.setWzcs(materialAppraisal.getWzcs());
		this.setZbht(materialAppraisal.getZbht());
		this.setZbjh(materialAppraisal.getZbjh());
		this.setZbjhtz(materialAppraisal.getZbjhtz());
		this.setZbxx(materialAppraisal.getZbxx());
		this.setZf(materialAppraisal.getZf());
		this.setHggys(materialAppraisal.getHggys());
		this.setJthmd(materialAppraisal.getJthmd());
		this.setEjdwhmd(materialAppraisal.getEjdwhmd());
		this.setGyspj(materialAppraisal.getGyspj());
		this.setBljl(materialAppraisal.getBljl());
	}
	
	public MaterialAppraisalVo(ViewMaterialAppraisal view){
		this.view=view;
	}
	
	public MaterialAppraisalVo(ViewMaterialAppraisalThree view){
		this.view1=view;
	}
	
	public MaterialAppraisalVo(ViewMaterialAppraisalCom view){
		this.view2=view;
	}
	
	

	public ViewMaterialAppraisalCom getView2() {
		return view2;
	}

	public void setView2(ViewMaterialAppraisalCom view2) {
		this.view2 = view2;
	}

	public ViewMaterialAppraisal getView() {
		return view;
	}

	public void setView(ViewMaterialAppraisal view) {
		this.view = view;
	}

	public ViewMaterialAppraisalThree getView1() {
		return view1;
	}

	public void setView1(ViewMaterialAppraisalThree view1) {
		this.view1 = view1;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Long getTianbaoqingkuang() {
		return tianbaoqingkuang;
	}

	public void setTianbaoqingkuang(Long tianbaoqingkuang) {
		this.tianbaoqingkuang = tianbaoqingkuang;
	}

	public Long getPaiming() {
		return paiming;
	}

	public void setPaiming(Long paiming) {
		this.paiming = paiming;
	}

	public BigDecimal getLjCount() {
		return ljCount;
	}

	public void setLjCount(BigDecimal ljCount) {
		this.ljCount = ljCount;
	}

	public Long getLjPaiming() {
		return ljPaiming;
	}

	public void setLjPaiming(Long ljPaiming) {
		this.ljPaiming = ljPaiming;
	}
	

}
